<template>
    <div>
        <!-- <el-dialog
          title="提示"
          :visible.sync="dialogVisible"
          width="30%"
          > -->
             <el-table
              :data="tableData"
              style="width: 100%">
              <el-table-column
                prop="date"
                label="人员名称"
                width="180">
              </el-table-column>
              <el-table-column
                label="电话"
                width="180">
              </el-table-column>
              <el-table-column
                prop="address"
                label="课程分类">
              </el-table-column>
               <el-table-column
                prop="address"
                label="权限状态">
              </el-table-column>
               <el-table-column
                prop="address"
                label="操作">
              </el-table-column>
            </el-table>
          <!-- <span slot="footer" class="dialog-footer">
            <el-button @click="dialogVisible = false">取 消</el-button>
            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
          </span> -->
        <!-- </el-dialog> -->
    </div>
</template>
<script>
import {getquanxianlist} from "/src/api/expend/index.js"
 import {mapState} from  "vuex"
export default {
    name:'getpermissionlist',
    data(){
        return {
            frompermission:{
              identification:'',
              page:0,
              limit:10
            },
            tableData:[]

        }
    }, 
    computed:{
        ...mapState(['userInfo'])
    },
    methods:{
        // 获取权限列表
        async getpermissionlist(){
           const data =  await getquanxianlist(this.frompermission)
           if(data.code ==1) {
              this.tableData=data.data
           }
        
        }
    },
    mounted(){
        this.frompermission.identification = this.userInfo.identification
        this.getpermissionlist()
     
    }
}
</script>
<style lang="scss" scoped>
</style>